WPS Office.apk(点击下载) / vs.java


package defpackage;

import com.iflytek.cloud.SpeechConstant;

/* renamed from: vs  reason: default package */
public final class vs {
    private ahe amH;
    private coj auw;
    private eud aux;
    private ws auz;

    public vs(ahe ahe, coj coj, eud eud) {
        this.amH = ahe;
        this.auw = coj;
        this.aux = eud;
    }

    private ws b(ahf ahf) {
        if (this.auz == null) {
            this.auz = new ws(this.auw, this.aux);
        }
        this.auz.aox = ahf;
        return this.auz;
    }

    public final void nq() {
        String str;
        this.auw.startDocument();
        this.auw.N("cs", "chartStyle");
        this.auw.M("cs", "http://schemas.microsoft.com/office/drawing/2012/chartStyle");
        this.auw.M("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
        this.auw.r("id", this.amH.mId);
        ahf ahf = this.amH.aFR[0];
        if (ahf != null) {
            b(ahf).write("axisTitle");
        }
        ahf ahf2 = this.amH.aFR[1];
        if (ahf2 != null) {
            b(ahf2).write("categoryAxis");
        }
        ahf ahf3 = this.amH.aFR[2];
        if (ahf3 != null) {
            b(ahf3).write("chartArea");
        }
        ahf ahf4 = this.amH.aFR[3];
        if (ahf4 != null) {
            b(ahf4).write("dataLabel");
        }
        ahf ahf5 = this.amH.aFR[4];
        if (ahf5 != null) {
            b(ahf5).write("dataLabelCallout");
        }
        ahf ahf6 = this.amH.aFR[5];
        if (ahf6 != null) {
            b(ahf6).write("dataPoint");
        }
        ahf ahf7 = this.amH.aFR[6];
        if (ahf7 != null) {
            b(ahf7).write("dataPoint3D");
        }
        ahf ahf8 = this.amH.aFR[7];
        if (ahf8 != null) {
            b(ahf8).write("dataPointLine");
        }
        ahf ahf9 = this.amH.aFR[8];
        if (ahf9 != null) {
            b(ahf9).write("dataPointMarker");
        }
        this.auw.N("cs", "dataPointMarkerLayout");
        int i = this.amH.aFG;
        if (-1 != i) {
            switch (i) {
                case 0:
                    str = "circle";
                    break;
                case 1:
                    str = "dash";
                    break;
                case 2:
                    str = "diamond";
                    break;
                case 3:
                    str = "dot";
                    break;
                case 4:
                case 5:
                default:
                    str = "circle";
                    break;
                case 6:
                    str = SpeechConstant.MODE_PLUS;
                    break;
                case 7:
                    str = "square";
                    break;
                case 8:
                    str = "star";
                    break;
                case 9:
                    str = "triangle";
                    break;
                case 10:
                    str = "x";
                    break;
            }
            this.auw.J("symbol", str);
        }
        int i2 = this.amH.aFF;
        if (-1 != i2) {
            if (i2 < 2 || i2 > 72) {
                this.auw.r("size", 2);
            } else {
                this.auw.r("size", i2);
            }
        }
        this.auw.O("cs", "dataPointMarkerLayout");
        ahf ahf10 = this.amH.aFR[9];
        if (ahf10 != null) {
            b(ahf10).write("dataPointWireframe");
        }
        ahf ahf11 = this.amH.aFR[10];
        if (ahf11 != null) {
            b(ahf11).write("dataTable");
        }
        ahf ahf12 = this.amH.aFR[11];
        if (ahf12 != null) {
            b(ahf12).write("downBar");
        }
        ahf ahf13 = this.amH.aFR[12];
        if (ahf13 != null) {
            b(ahf13).write("dropLine");
        }
        ahf ahf14 = this.amH.aFR[13];
        if (ahf14 != null) {
            b(ahf14).write("errorBar");
        }
        ahf ahf15 = this.amH.aFR[14];
        if (ahf15 != null) {
            b(ahf15).write("floor");
        }
        ahf ahf16 = this.amH.aFR[15];
        if (ahf16 != null) {
            b(ahf16).write("gridlineMajor");
        }
        ahf ahf17 = this.amH.aFR[16];
        if (ahf17 != null) {
            b(ahf17).write("gridlineMinor");
        }
        ahf ahf18 = this.amH.aFR[17];
        if (ahf18 != null) {
            b(ahf18).write("hiLoLine");
        }
        ahf ahf19 = this.amH.aFR[18];
        if (ahf19 != null) {
            b(ahf19).write("leaderLine");
        }
        ahf ahf20 = this.amH.aFR[19];
        if (ahf20 != null) {
            b(ahf20).write("legend");
        }
        ahf ahf21 = this.amH.aFR[20];
        if (ahf21 != null) {
            b(ahf21).write("plotArea");
        }
        ahf ahf22 = this.amH.aFR[21];
        if (ahf22 != null) {
            b(ahf22).write("plotArea3D");
        }
        ahf ahf23 = this.amH.aFR[22];
        if (ahf23 != null) {
            b(ahf23).write("seriesAxis");
        }
        ahf ahf24 = this.amH.aFR[23];
        if (ahf24 != null) {
            b(ahf24).write("seriesLine");
        }
        ahf ahf25 = this.amH.aFR[24];
        if (ahf25 != null) {
            b(ahf25).write("title");
        }
        ahf ahf26 = this.amH.aFR[25];
        if (ahf26 != null) {
            b(ahf26).write("trendline");
        }
        ahf ahf27 = this.amH.aFR[26];
        if (ahf27 != null) {
            b(ahf27).write("trendlineLabel");
        }
        ahf ahf28 = this.amH.aFR[27];
        if (ahf28 != null) {
            b(ahf28).write("upBar");
        }
        ahf ahf29 = this.amH.aFR[28];
        if (ahf29 != null) {
            b(ahf29).write("valueAxis");
        }
        ahf ahf30 = this.amH.aFR[29];
        if (ahf30 != null) {
            b(ahf30).write("wall");
        }
        this.auz = null;
        this.auw.O("cs", "chartStyle");
        this.auw.endDocument();
    }
}